package com.stary.pay.wxpay.api.request;

import java.util.Map;

import com.stary.pay.wxpay.api.WxpayConstants;
import com.stary.pay.wxpay.api.WxpayRequest;
import com.stary.pay.wxpay.api.response.WxpayDownloadBillResponse;
import com.stary.pay.wxpay.api.util.WxpayHashMap;

/**
 * <p>wxpay downloadbill request</p>
 * @author stary {@link stary1993@qq.com}
 * @since 2019-5-28
 */
public class WxpayDownloadBillRequest implements WxpayRequest<WxpayDownloadBillResponse> {

	/**
	 * 下载对账单接口
	 */
	private String bizContent;
			
	public String getBizContent() {
		return bizContent;
	}

	public void setBizContent(String bizContent) {
		this.bizContent = bizContent;
	}

	public String getNotifyUrl() {
		return null;
	}

	public void setNotifyUrl(String notifyUrl) {}

	public Map<String, String> getTextParams() {
		WxpayHashMap txtParams = new WxpayHashMap();
		txtParams.put(WxpayConstants.BIZ_CONTENT, this.bizContent);
		return txtParams;
	}

	public Class<WxpayDownloadBillResponse> getResponseClass() {		
		return WxpayDownloadBillResponse.class;
	}

	public boolean isNeedCert() {
		return false;
	}
	public String serverDomain() {
		return WxpayConstants.DOMAIN_API_MCH;
	}

	public boolean isCheckSign() {
		return false;
	}

}
